Repository navigation
fix(mobile): resolve release, sync, and navigation regressions - #285
NeerajCodz wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43a0353f3a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| import type { ThemeTokens } from '@finapp/ui/tokens'; | ||
|
|
||
| const STORE_URL = 'https://play.google.com/store/apps/details?id=com.neerajcodz.finapp'; | ||
| const IOS_STORE_URL = 'https://apps.apple.com/search?term=Finapp'; |
There was a problem hiding this comment.
Link the mandatory update to the exact iOS listing
When an outdated iOS build displays this mandatory-update notice, the Update action opens a generic App Store search rather than this app's product page. Because “Finapp” is not a unique app name, users can be shown unrelated products and have no reliable route to the update needed to restore syncing; use the stable App Store product URL or ID instead.
Useful? React with 👍 / 👎.
| const fields = receiptDraftToForm(last.draft, currency); | ||
| onCurrencyChangeRef.current({ amount: fields.amount, rows: fields.rows }); |
There was a problem hiding this comment.
Rescale edited amounts instead of restoring OCR values
After a receipt scan, if the user corrects an item or total and then selects an account whose currency has different minor-unit precision, this rebuilds monetary fields from last.draft, which still contains the original OCR amounts. The consumer then replaces every matching row's current amount, silently discarding those corrections; the precision adjustment should operate on the current form amounts rather than regenerating them from the scan.
Useful? React with 👍 / 👎.
| 'checking' | 'registered' | 'failed' | 'offline' | ||
| >('checking'); | ||
| const register = React.useCallback(async () => { | ||
| if (registrationInFlight.current) return; |
There was a problem hiding this comment.
Retry registration after an in-flight connectivity cycle
If connectivity drops and returns while registerForPush is still pending, both dependency-triggered calls return here because the lock is set. When the original request subsequently fails, it clears the lock only after setting failed, but no dependency changes again to start registration, so an online device remains unregistered until the user manually taps Retry. Queue a rerun when a call was skipped or re-check connectivity after the in-flight request completes.
Useful? React with 👍 / 👎.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 88b9b5c223
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| * versions come from version.json (through convex/shared/version.ts); the backend's live | ||
| * values come from `api.system.info`. | ||
| */ | ||
| import { Platform } from 'react-native'; |
There was a problem hiding this comment.
Avoid importing React Native from the shared version model
When building the web app, apps/web/app/about/page.tsx and apps/web/components/finance/UpdateBanner.tsx both import this shared entry point, so this unconditional import pulls the native react-native package into the Next.js client graph even when versionRows is called with platform: 'web'. The web package has no react-native-web dependency or Next alias, meaning it cannot resolve a browser implementation and the web build will fail or bundle native-only code; pass the platform from the mobile caller or split this into platform-specific entry points instead.
Useful? React with 👍 / 👎.
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
- Keep a missing line-item state unchanged during currency precision updates. Fixes #195
- Use native runtime build metadata in the About diagnostics. - Fixes #202.
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
- Reflow the flagged transaction form, release-note helper, and test assertion.
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
- Apply the repository formatter to files flagged by CI.
Changes
Issues
Fixes #195
Fixes #197
Fixes #199
Fixes #200
Fixes #201
Fixes #202
Fixes #205
Fixes #209
Fixes #220
Fixes #238
Fixes #272